import { defineComponent } from "vue";
import { Menu } from "ant-design-vue";
import $ from "jquery";

export default defineComponent({
  props: {
    save: Function,
  },
  mounted() {
    $(() => {
      console.log(1);
    });
  },

  methods: {
    handleItem(e: Event) {
      console.log(e);
    },
  },

  render() {
    return (
      <Menu onClick={this.handleItem}>
        <Menu.Item>a</Menu.Item>
        <Menu.Item>b</Menu.Item>
      </Menu>
    );
  },
});
